package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.OutsTaskDistrMain;
import com.fdb.efp.nls.service.vo.OutsTaskDistrMainVO;

import java.util.List;

/**
 * <p>DAO interface:委外任务分配主表				<p>
 * @author ligm
 * @date 2019-08-27
 */
public interface OutsTaskDistrMainDao {
	
	public int insertOutsTaskDistrMain(OutsTaskDistrMain outsTaskDistrMain);
	
	public int deleteByPk(OutsTaskDistrMain outsTaskDistrMain);
	
	public int updateByPk(OutsTaskDistrMain outsTaskDistrMain);
	
	public OutsTaskDistrMain queryByPk(OutsTaskDistrMain outsTaskDistrMain);
	
	public List<OutsTaskDistrMain> queryAllOwnerByPage(OutsTaskDistrMainVO outsTaskDistrMain);
	
	public List<OutsTaskDistrMain> queryAllCurrOrgByPage(OutsTaskDistrMainVO outsTaskDistrMain);
	
	public List<OutsTaskDistrMain> queryAllCurrDownOrgByPage(OutsTaskDistrMainVO outsTaskDistrMain);

	public int batchInsertVo(List<OutsTaskDistrMain> Lists);

	public int updateByColltBatchNo(OutsTaskDistrMain outsTaskDistrMain);

	public List<OutsTaskDistrMain> queryVoByColltBatchNoByPage(OutsTaskDistrMain outsTaskDistrMain);

	public List<OutsTaskDistrMain> queryAllByConditionsByPage(OutsTaskDistrMain outsTaskDistrMain);

}
